home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
C-D
/
DeveloperStax.cpt
/
Developer Stack 1.1
/
card_24658.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
1KB
|
58 lines
-- card: 24658 from stack: in.1
-- bmap block id: 0
-- flags: 0000
-- background id: 3837
-- name: isRunning
-- part 1 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=82 top=302 right=324 bottom=182
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Install
----- HyperTalk script -----
on mouseUp
if the optionkey is down then pass mouseup
put installres(XFCN,isRunning) into it
if it is empty then play oops
else answer it
end mouseUp
-- part contents for background part 10
----- text -----
13
-- part contents for background part 5
----- text -----
isRunning
-- part contents for background part 6
----- text -----
Checks to see if a program is already running under MultiFinder.
-- part contents for background part 7
----- text -----
Syntax:
IsRunning(programName)
programName is the short name of the program.
Returns TRUE if programName is running, else it returns FALSE.
Example:
put IsRunning(MacWrite) into result.